Skip to main content

All Questions

1vote
2answers
4kviews

How to update an angular directive with async data

I have a controller which gets json data called content.json. When I render the UI, I can't know if the json is available yet. The controller gets the json data asap when the app loads, it is an array ...
jollege's user avatar
  • 1,155
0votes
0answers
338views

Angular JS - Binding angular expressions coming from JSON to HTML

Is it possible to give angular expression inside a JSON file like this: { "headerHTML": "<div>{{clippedCoupons}}</div>" } And bind it to a directive template like this (the below ...
FlashyFuddyFuddy's user avatar

close